Enable symbolic colors and color expressions in style properties. Fixes
authorMichael Natterer <mitch@imendio.com>
Fri, 21 Jul 2006 08:27:31 +0000 (08:27 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Fri, 21 Jul 2006 08:27:31 +0000 (08:27 +0000)
commitc095ee26703b6bfc047b40f0841a531d917fada9
treea2f0ff9f3783212933ccbd9dc79e0b92906d63db
parent4087803aad6840689e9fb54ae2d84bbb33a9ab9c
Enable symbolic colors and color expressions in style properties. Fixes

2006-07-21  Michael Natterer  <mitch@imendio.com>

Enable symbolic colors and color expressions in style
properties. Fixes bug #346751.

* gtk/gtkrc.c (rc_parse_token_or_compound): add GtkRcStyle
parameter and replace symbolic colors by color constants.

(gtk_rc_parse_assignment): likewise. Also support parsing of
expressions of the form identifier(compound).

(gtk_rc_parse_style): pass the GtkRcStyle to
gtk_rc_parse_assignment().

(gtk_rc_parse_statement): pass NULL since we don't have a
GtkRcStyle here.
ChangeLog
ChangeLog.pre-2-10
gtk/gtkrc.c